// pages/login/index.js
import {
  request
} from "../../resquest/index.js"
import regeneratorRuntime from '../../lib/runtime/runtime';
// 导入封装的promise的微信小程序api
import {
  login
} from '../../utils/asyncWx.js'
Page({

  /**
   * 页面的初始数据
   */
  async handleGetUserInfo(e){
  //  console.log(e);
   const {userInfo} = e.detail;
   wx.setStorageSync("userInfo", userInfo);
   wx.navigateBack({
     delta: 1
   });
  }
  
})